package Interface;

import org.example.Teacher;
import util.Condition;
import util.Pagination;

import java.sql.SQLException;
import java.util.Collection;
import java.util.List;

public interface TeacherServiceInterface {
    Collection<Teacher> findAll(List<Condition> conditionList, Pagination pagination) throws SQLException;
    Teacher add(Teacher teacher) throws SQLException;
    Teacher delete(Teacher teacher) throws SQLException;
    Teacher update(Teacher teacher) throws SQLException;
    public Teacher find(int id) throws SQLException;
}
